from rest_framework import serializers

from .models import *


class BeanSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = bean
        fields = "__all__"



class PestSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = pest
        fields = "__all__"


class RecognitionSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = recognition
        fields = "__all__"


class ViewInfluencePestSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = view_influence_pest
        fields = "__all__"
